﻿using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Web.Configuration;

using MyDHServer.Compontents;
using MyDHServer.Compontents.DataProvider;
using MyDHServer.DataAccess;
namespace Web
{
    public partial class TestLinq : System.Web.UI.Page
    {
       
        protected void Page_Load(object sender, EventArgs e)
        {
            /*
           Guid id = Guid.NewGuid();
           DHComment comment = new DHComment();
           comment.author = "admin";
           comment.comment = "hello";
           comment.Ip = "127.0.0.1";
           comment.keyid = id;
           comment.WebSite = "http://9527.cnblogs.com/";
           
           DHBlog blog = new DHBlog();
           blog.id = id;
           blog.context = "dkkdlsfdsajflkdfljasdlfkjasdlfk";
           blog.Author = "papersnake";
           blog.description = "this is a test";
           blog.pubdate = blog.lastModified = DateTime.Now;
           blog.DHComments.Add(comment);
            
           //blog.DHContent.Updatetime = blog.DHContent.Addtime = DateTime.Now;

           BlogDataProvider.Instance().AddBlog(blog);
            */



        }
    }
}
